package cn.stylefeng.guns.modular.order.model;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangyu
 * @since 2019-12-10
 */
@TableName("user_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 订单号
     */
    @TableField("order_no")
    private String orderNo;
    /**
     * 用户id，下单人id
     */
    @TableField("user_id")
    private Integer userId;
    /**
     * 姓名
     */
    @TableField("user_name")
    private String userName;
    /**
     * 收货地址
     */
    @TableField("delivery_address")
    private String deliveryAddress;


    @TableField("tracking_no")
    private String trackingNo;

    /**
     * 数量
     */
    @TableField("quantity")
    private Integer quantity;


    /**
     * 物流公司
     */
    @TableField("express_company_id")
    private String expressCompanyId;


    @TableField("verification_code")
    private String verificationCode;



    @TableField("create_time")
    private Date createTime;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 领取方式 1 支付 2 试用
     */
    @TableField("receive_type")
    private Integer receiveType;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getReceiveType() {
        return receiveType;
    }

    public void setReceiveType(Integer receiveType) {
        this.receiveType = receiveType;
    }

    public String getTrackingNo() {
        return trackingNo;
    }

    public void setTrackingNo(String trackingNo) {
        this.trackingNo = trackingNo;
    }

    public String getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(String verificationCode) {
        this.verificationCode = verificationCode;
    }

    public String getExpressCompanyId() {
        return expressCompanyId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public void setExpressCompanyId(String expressCompanyId) {
        this.expressCompanyId = expressCompanyId;
    }
}
